package com.general.app.wjgl.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletResponse;

import org.apache.poi.hssf.usermodel.HSSFWorkbook;

import com.general.app.wjgl.dao.entity.SurveyRebackModel;
import com.general.common.security.entity.User;
import com.general.common.service.BaseService;

public interface ISurveyRebackService extends BaseService<SurveyRebackModel>{

	
	/**
	 * 个人回收列表
	 * @param model
	 * @return
	 */
	public List<SurveyRebackModel> getPagedUserList(SurveyRebackModel model);

	/**
	 * 取得问卷信息
	 * @param ids
	 * @param tab
	 * @return
	 */
	public SurveyRebackModel getRackModel(String ids, String tab);

	/**
	 * 【问卷因子平均分】统计情况
	 * @param model
	 * @return
	 */
	public List<SurveyRebackModel> getSurveyFactorAverageList(SurveyRebackModel model);

	/**
	 * 【不同评估者得分】统计情况
	 * @param model
	 * @return
	 */
	public List<SurveyRebackModel> getAssessRebackList(SurveyRebackModel model);


	/**
	 * 【360评分全貌图】列表
	 * @param model
	 * @return
	 */
	public List<SurveyRebackModel> getAllQuestionList(SurveyRebackModel model);
	

	/**
	 * 【开放性问题】列表 STYLE_ID：3
	 * @param model
	 * @return
	 */
	public List<SurveyRebackModel> getOpenQuestionList(SurveyRebackModel model);
	

	/**
	 * 【个别特殊问题】列表 spemark：2
	 * @param model
	 * @return
	 */
	public List<SurveyRebackModel> getSpeQuestionList(SurveyRebackModel model);

	/**
	 * 导出个人统计信息
	 * @param map
	 * @param user
	 * @param response
	 */
	public HSSFWorkbook dcUserSurStat(Map<String, Object> map, User user,
			HttpServletResponse response);
}
